package main.java.ssm.controller.demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by silence on 17-5-26.
 */
@Controller
public class DemoController {

    @RequestMapping(value = "/index", method = RequestMethod.GET)
    public String index(){
        return "/WEB-INF/index.jsp";
    }
}
